using System;
using System.Collections.Generic;
using System.Text;

namespace SubManager.Logic
{
    public class Group
    {
        /// <summary>
        /// Contained users.
        /// </summary>
        private List<User> _users = null;
        /// <summary>
        /// Group name.
        /// </summary>
        private string _name;
        /// <summary>
        /// Group name.
        /// </summary>
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        /// <summary>
        /// Identity.
        /// </summary>
        private long _id;
        /// <summary>
        /// Identity.
        /// </summary>
        public long Id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// Description.
        /// </summary>
        private string _description;
        /// <summary>
        /// Description.
        /// </summary>
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }
        /// <summary>
        /// Contained users.
        /// </summary>
        public List<User> Users
        {
            get { return _users; }
        }

    }
}
